package com.wms.server;

import org.apache.commons.lang3.StringUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;


/**
 * 系统启动类
 * @author liuchao
 */
@SpringBootApplication(exclude = { 
		RabbitAutoConfiguration.class,
		SecurityAutoConfiguration.class
})
@EnableAsync
@EnableFeignClients
public class WmsBizServerApplication {
	
	public static void main(String[] args) {
		String value = System.getProperty("nacos.logging.default.config.enabled");
		if(StringUtils.isEmpty(value)) {
			System.setProperty("nacos.logging.default.config.enabled", "false");
		}
		SpringApplication.run(WmsBizServerApplication.class, args);
	}
}
